package cn.zyjblogs.starter.minio.config;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * minio 配置参数类
 */
@ConfigurationProperties(prefix = "minio")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class MinioProperties {
    /**
     * endpoint,minio的访问路径
     */
    private String endpoint;
    /**
     * 授权key
     */
    private String accessKey;

    /**
     * 密钥
     */
    private String secretKey;

    private String bucketName;
}
